package com.jfm.jfmc.core;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication
@ComponentScan(basePackages = {"com.jfm.jfmc.*"})
@MapperScan(basePackages = {"com.jfm.jfmc.core.mapper"})
@EnableAsync
public class CollectorApp {

    public static void main(String[] args) {
        SpringApplication.run(CollectorApp.class, args);
    }
}